package com.jz.jingying.mapper.sqlServer;

import com.jz.jingying.bean.TBodychecklastrecord;
import com.jz.jingying.bean.TProviderregister;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zyl
 * @since 2019-03-20
 */
public interface TProviderregisterMapper extends BaseMapper<TProviderregister> {
    @Select("SELECT COUNT(*) FROM T_ProviderRegister ")
    int selectCount();
    List<TProviderregister> selectTProviderregister(@Param("pageSize") int pageSize, @Param("currentPage") int currentPage);
    List<TProviderregister> getProviderRegister(TProviderregister providerRegister);
    void  addProviderRegister(TProviderregister providerRegister);
    void  updateProviderRegister(TProviderregister providerRegister);
}
